from pydantic import BaseModel
from typing import List, Optional

class ExpressionItem(BaseModel):
    id: int
    url: Optional[str] = None
    content: str
    type: int

class ExpressionResponse(BaseModel):
    code: int
    message: str
    data: List[ExpressionItem]